import {axios} from '@/script/axios.js'
// 下单购买
export function bindShop(data) {
  return axios({
    url: `/system/acddShop/bindingShop`,
    method: 'post',
		data
  })
}

// 获取核销账户openId
export function getOpenId(data) {
  return axios({
    url: `/wx/verification/getOpenId`,
    method: 'get',
		data
  })
}

// 活动详情
export function getActivityInfo(data) {
  return axios({
    url: `/wx/verification/getActivityInfo`,
    method: 'get',
		data
  })
}

// 核销
export function verification(data) {
  return axios({
    url: `/wx/verification`,
    method: 'post',
		data
  })
}

// 激活
export function activateCard(data) {
  return axios({
    url: `/wx/verification/activate`,
    method: 'post',
		data
  })
}

